package com.ruoyi.business.sundry.service;

import com.ruoyi.business.base.JoBaseService;
import com.ruoyi.business.sundry.domain.JbProductRecipeHistory;
import com.ruoyi.business.sundry.domain.vo.JbProductRecipeHistoryStatistics;

import java.util.List;

/**
 * 商品配方历史Service接口
 * 
 * @author ruoyi
 * @date 2024-10-11
 */
public interface JbProductRecipeHistoryService extends JoBaseService<JbProductRecipeHistory>
{
    /**
     * 历史统计，按月份返回，取最新的一条数据
     * @param statistics
     * @return
     */
    List<JbProductRecipeHistoryStatistics> historyStatistics(JbProductRecipeHistoryStatistics statistics);
}
